<?php defined('IN_HOPECMS') or exit('Access Denied'); ?>
<div class="content-title">字段管理 - <?php echo $model['name'];?></div>
<div class="clear margin-top-10"></div>
<?php 
	echo dpWidget::execute(
		'widget:listview.listViewWidget',
		'listViewWidget',
		array(
			'id'    => 'listview',
			'model' => 'modelModel',
			'table_width'   => '98.5%;',
			'page_base_url' => 'model/index/model',
			'per_page'		=> 20,
			'numone_no_del' => true,
			'op_width'		=> 150,
			'show_data'     => array(
				'model_id'      => array('name'=>'模型ID',     'width'=>80 ),
				'name'			=> array('name'=>'模型名称',   'width'=>120),
				'description'	=> array('name'=>'模型描述',   'width'=>280),
				'table_name'	=> array('name'=>'模型表名',   'width'=>150)
			),
			'buttons' => array(
				array('name' => '删除', 'url' => D::createUrl('model/index/modeldelete')),
			),
			'links'	  => array(
				array('text'=>'字段管理', 'url'=>D::createUrl('model/index/field')),
				array('text'=>'修改', 'url'=>D::createUrl('model/index/modeledit')),
				array('text'=>'删除', 'url'=>D::createUrl('model/index/modeldelete'), 'alert'=>true),
			),
		)
	);
?>